package Operation;

import Bill.BillList;

import java.sql.SQLException;
import java.util.Scanner;

public class Delete extends MySql implements IOperation{
    @Override
    public void work() throws SQLException {
        System.out.println("请输入你要删除的账单的id");
        Scanner scanner = new Scanner(System.in);
        int id = scanner.nextInt();
        super.delete(id);
        System.out.println("===============================");
    }
}
